package com.icss.day01;

import java.sql.SQLOutput;

public class Test9 {
    public static void main(String[] args) {
        Dog d1 = new Dog();
        d1.setLegs(4);
        d1.setColor("白色");
        Dog d2 = new Dog(4, "白色");
        System.out.println(d2.getLegs()  + d2.getColor());

        Dog d3 = new Dog("黑色");
        System.out.println(d3.getLegs()  + d3.getColor());

        System.out.println(10 / 0);


    }
}
